package cn.fengshenghospital.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;

import java.util.List;
import java.util.Map;

public class JsonUtil {
    public static Map<String,Object> getDataMap(String json){
        Map<String,Object> map = JSON.parseObject(json, new TypeReference<Map<String,Object>>(){});
        return map;
    }
}
